home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
DEF
/
Convert
/
Notes
/
note-to-freq
Wrap
Text File
|
1998-10-23
|
350b
|
16 lines
note-to-freq note octave
Converts note in an octave into frequency. c 0 corresponds frequency 1. Use this function to generate values to be used to determine oscillators frequencies. See freq-to-note.
(note-to-freq 'c# 0)
--> 1.0594630943592953
(note-to-freq 'c 1)
--> 2.0
(note-to-freq 'c 2)
--> 4.0
(note-to-freq 'g& 7)
--> 181.01933598375618